/*************************************************************************
	> File Name: src/String1923.java
	> Author: blackwall
	> Mail: wangzq@besti.edu.cn
	> Created Time: 2020年09月17日 星期四 09时10分35秒
 ************************************************************************/

public class String1923{
    public static void main(String args[]){
        String besti192301 = "zhangchenyu";
        String besti192302 = new String("zhaoyixuan");
        System.out.println("192302:"+ besti192302.toUpperCase());
        System.out.println("besti192301\'s length:"+ besti192301.length());
        System.out.println("Compare two stu: " + besti192302.compareTo(besti192301));
        String besti192303 = "yangjianing";
        String besti192304 = "liurunheng";
        System.out.println("Compare two same Strings, the result is :"
+ besti192303.equals(besti192304));
        String besti19230301 = new String("yangjianing");
        String besti19230302 = new String("yangjianing");
        
        System.out.println("result:"+ besti192304.equals("liurunheng"));


    }
}

